package int64

import "clientDemo/service/variable"

func init() {
	variable.RegeditCreatVariableFunc(variable.Type_Variable_Int, NewCreatVariableInt64)
}
func NewCreatVariableInt64(id int, Type int, value interface{}) (variable.IVariable, error) {
	o := &VariableInt64{
		id: uint32(id),
		t:  variable.Type_Variable_Int,
	}
	err := o.SetValue(value)
	return o, err
}
